package com.ddtech.framework.system.model.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @version v1.0
 * @ClassName:UserSaveVo description：
 * @author:wei_zhang(xiao)
 * @date: 2024-11-15 09:16
 */
@Data
public class UserSaveVo {


    @NotBlank(message = "姓名不能为空")
    private String username;

    @NotBlank
    @Length(max=11,message = "电话长度超过最大限制")
    private String password;
}
